package com.star.system.vo;

import com.star.common.utils.TreeNode;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 菜单角色树
 *
 * @author yangzj
 */
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Data
public class MenuRoleTreeVO extends TreeNode<MenuRoleTreeVO> implements Serializable {

    /**
     * 类型（0菜单 1按钮）
     */
    private Integer type;

    /**
     * 标题
     */
    private String title;

    /**
     * 图标
     */
    private String icon;

    /**
     * 角色已经拥有的菜单
     */
    private Boolean selected;
}
